<template>
  <div class='container'>
    <el-dialog
    :title="`${data.id?'修改':'新增'}学科`"
    :visible.sync="dialogVisible"
    width="80%"
  >
    <span>
      <el-form ref="form" :model="newform" :rules="rules" label-width="100px">
        <el-form-item label="学科名称" prop="subjectName">
          <el-input v-model="newform.subjectName" />
        </el-form-item>
</template>

<script>
export default {

}
</script>

<style>

</style>
